Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Constants and Data Types


Structure Types

The OTAlloc function (page 3-92) allocates a data structure that you specify using one of the constant names given by the structure types enumeration:

enum {
      T_BIND         = (OTStructType)1,
      T_OPTMGMT      = (OTStructType)2,
      T_CALL         = (OTStructType)3,
      T_DIS          = (OTStructType)4,
      T_UNITDATA     = (OTStructType)5,
      T_UDERROR      = (OTStructType)6,
      T_INFO         = (OTStructType)7,
      T_REPLYDATA    = (OTStructType)8,
      T_REQUESTDATA  = (OTStructType)9,
      T_UNITREQUEST  = (OTStructType)10,
      T_UNITREPLY    = (OTStructType)11
};
Constant descriptions

T_BIND
Specifies the TBind structure (page 3-51).
T_OPTMGMT
Specifies the TOptMgmt structure, described in the chapter "Option Management" in this book.
T_CALL
Specifies the TCall structure (page 3-62).
T_DIS
Specifies the TDiscon structure (page 3-151).
T_UNITDATA
Specifies the TUnitData structure (page 3-55).
T_UDERROR
Specifies the TUDError structure (page 3-57).
T_INFO
Specifies the TEndpointInfo structure (page 3-48).
T_REPLYDATA
Specifies the TReply structure (page 3-67).
T_REQUESTDATA
Specifies the TRequest structure (page 3-66).
T_UNITREQUEST
Specifies the TUnitRequest structure(page 3-58).
T_UNITREPLY
Specifies the TUnitReply structure (page 3-60).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996